package edu.sctu.practice.class02.yangshengyu.assign03.test03;

/**
 * Created by Mr-zhu on 2015/10/24.
 */
public class RunObj {
    
    public static void main(String[] args) throws CloneNotSupportedException {

        Name name = new Name("yang ","sheng","yu") ;

        CloneableCircle cloneableCircle = new CloneableCircle(name);

        CloneableCircle clone = (CloneableCircle) cloneableCircle.clone();

        if (clone == cloneableCircle){
            System.out.println("successful");
        }else {
            System.out.println("fail");
        }
    }
}
